{* Extend our master template *}
{extends file="master.tpl"}

{* This block is defined in the master.php template *}
{block name=content}
	<div class="row">
        <div class="col-md-12">
            <form id="form" class="form-horizontal" method="post">
                <div class="panel panel-default">
                    {include file="components/panel_heading.tpl" title=$title sub_title=$sub_title}
                    <!-- <div class="panel-heading">
                        <div class="panel-btns">
                            <a href="#" class="panel-close">&times;</a>
                            <a href="#" class="minimize">&minus;</a>
                        </div>
                        <h4 class="panel-title">{'edit_group_heading'|lang}</h4>
                        <p>{'edit_group_subheading'|lang}</p>
                    </div> -->
                    <div class="panel-body">
                    	
                    	<div id="infoMessage">{$message}</div>
                        
                        <div class="form-group">
                            <label class="col-sm-3 control-label">{'title'|trans} <span class="asterisk">*</span></label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" name="group_name" value="{$group_name['value']}" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">{'description'|trans} <span class="asterisk">*</span></label>
                            <div class="col-sm-9">
                                <input type="text" class="form-control" name="description" value="{$group_description['value']}" required>
                            </div>
                        </div>

                    </div><!-- panel-body -->
                    {include file="components/panel_footer.tpl"}
                </div><!-- panel -->
            </form>
        </div>
    </div>
{/block}